package top.zhmq.goodsprovider.dao2;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Bean;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import top.zhmq.commonmodule.model.Goods;

import java.util.List;

/**
 * TODO 在此处添加描述
 *
 * @author Glory
 * @classname GoodsDao2
 * @create 2021-06-11 08:58
 */

@Component
public interface GoodsDao2 extends ElasticsearchRepository<Goods, Integer> {
    List<Goods> findGoodssByGnameLike(String gname);//根据商品名称模糊查找
}
